package com.flyqiu.flow.common.std;


import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

@Data
public class ActivityHandlerResult<T> {

    private String actTypeInstId;
    private boolean autoNext;

    private String assignee;

    private String assigneeKey;

    private JSONObject assigneeAttr;

    private String assigneeUniqueKey;

    private String assigneeNickName;


    private String owner;
    private String ownerKey;

    private T otherEntity;

    public ActivityHandlerResult(T otherEntity, String actTypeInstId) {
        this.otherEntity = otherEntity;
        this.actTypeInstId = actTypeInstId;
    }

    public ActivityHandlerResult(String actTypeInstId) {
        this.actTypeInstId = actTypeInstId;
    }
}
